package com.pandora.framework.vo;

import java.io.Serializable;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.pandora.framework.constant.ResponseConstants;

/**
 * 请求体信息
 * 
 * @author JingChenglong 2017/12/18 11:21
 *
 */
public class ServiceCoreVO implements Serializable {

	private static final long serialVersionUID = 1L;

	private String format = "";// 请求参数格式
	private int reqlength = 0;// 请求信息长度
	private String sign = "";// 签名
	private String reqcontentmd5 = "";// 请求体MD5加密签名值
	private String reqcontenthmacsha1 = "";// 请求体HMACSHA1加密签名值
	private String reqlog = "";// 请求日志
	private int reslength = 0;// 相应结果长度
	private String reslog = "";// 相应日志

	private String requestTime = "";// 请求时间

	private String accessid = "";// 通行证ID
	private String accesskey = "";// 通行证KEY

	private String type = "";// 接口业务类型
	private String subType = "";// 业务子类
	private String requestType;// 请求接口类型
	private String serviceType;// 服务类型
	private int code = ResponseConstants.SUCCESS;// 请求结果code标识
	private String exception = "";// 异常信息
	private String reqContent = "";// 请求内容
	private String resContent = "";// 相应内容

	private Object reqObject = null;
	private Object resObject = null;

	private String ip = "";// 请求IP
	private String requestUrl = "";// 请求URL
	private String action = "";// 请求action

	private String operateLogno = "";// 操作日志码
	private String recordNo = "";// 记录码

	private HttpServletRequest request = null;
	private HttpServletResponse response = null;

	public String getSubType() {
		return subType;
	}

	public void setSubType(String subType) {
		this.subType = subType;
	}

	public String getRecordNo() {
		return recordNo;
	}

	public void setRecordNo(String recordNo) {
		this.recordNo = recordNo;
	}

	public String getException() {
		return exception;
	}

	public void setException(String exception) {
		this.exception = exception;
	}

	public Object getReqObject() {
		return reqObject;
	}

	public void setReqObject(Object reqObject) {
		this.reqObject = reqObject;
	}

	public Object getResObject() {
		return resObject;
	}

	public void setResObject(Object resObject) {
		this.resObject = resObject;
	}

	public String getReqcontenthmacsha1() {
		return reqcontenthmacsha1;
	}

	public void setReqcontenthmacsha1(String reqcontenthmacsha1) {
		this.reqcontenthmacsha1 = reqcontenthmacsha1;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getOperateLogno() {
		return operateLogno;
	}

	public void setOperateLogno(String operateLogno) {
		this.operateLogno = operateLogno;
	}

	public String getAccesskey() {
		return accesskey;
	}

	public void setAccesskey(String accesskey) {
		this.accesskey = accesskey;
	}

	public String getRequestType() {
		return requestType;
	}

	public void setRequestType(String requestType) {
		this.requestType = requestType;
	}

	public String getServiceType() {
		return serviceType;
	}

	public void setServiceType(String serviceType) {
		this.serviceType = serviceType;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getReqContent() {
		return reqContent;
	}

	public void setReqContent(String reqContent) {
		this.reqContent = reqContent;
	}

	public String getResContent() {
		return resContent;
	}

	public void setResContent(String resContent) {
		this.resContent = resContent;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getRequestUrl() {
		return requestUrl;
	}

	public void setRequestUrl(String requestUrl) {
		this.requestUrl = requestUrl;
	}

	public HttpServletRequest getRequest() {
		return request;
	}

	public void setRequest(HttpServletRequest request) {
		this.request = request;
	}

	public HttpServletResponse getResponse() {
		return response;
	}

	public void setResponse(HttpServletResponse response) {
		this.response = response;
	}

	public String getFormat() {
		return format;
	}

	public void setFormat(String format) {
		this.format = format;
	}

	public int getReqlength() {
		return reqlength;
	}

	public void setReqlength(int reqlength) {
		this.reqlength = reqlength;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getReqcontentmd5() {
		return reqcontentmd5;
	}

	public void setReqcontentmd5(String reqcontentmd5) {
		this.reqcontentmd5 = reqcontentmd5;
	}

	public String getReqlog() {
		return reqlog;
	}

	public void setReqlog(String reqlog) {
		this.reqlog = reqlog;
	}

	public int getReslength() {
		return reslength;
	}

	public void setReslength(int reslength) {
		this.reslength = reslength;
	}

	public String getReslog() {
		return reslog;
	}

	public void setReslog(String reslog) {
		this.reslog = reslog;
	}

	public String getRequestTime() {
		return requestTime;
	}

	public void setRequestTime(String requestTime) {
		this.requestTime = requestTime;
	}

	public String getAccessid() {
		return accessid;
	}

	public void setAccessid(String accessid) {
		this.accessid = accessid;
	}
}